//
//  HomeNaviView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/20.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "HomeNaviIconImageView.h"

@class BCHomeFlowModel;

@interface HomeNaviView : UIView


/**
 *logoIV
 */
@property (nonatomic, strong) HomeNaviIconImageView *iconImageView;

/**
 *regionButton地区
 */
@property (nonatomic, strong) QMUILinkButton *regionButton;



/**
 根据首页tableViewContentOffset变化改变视图大小及颜色
 */
- (void)layoutSubviewsWithTableViewContentOffset:(CGPoint)contentOffset;

/**
 pullingPercent 设置刷新时的pullingPercent 和refreshHeader同步
 */
- (void)setPullingPercent:(CGFloat)pullingPercent contentOffset:(CGPoint)contentOffset;
- (void)beginRefreshing;
- (void)endRefreshing;

/**
 add actions
 */
- (void)addServiceButtonTarget:(id)target action:(SEL)action;
- (void)addPrizeButtonTarget:(id)traget action:(SEL)action;
- (void)addRegionButtonTarget:(id)target action:(SEL)action;



/**
 *BCHomeFlowModel
 */
@property (nonatomic, weak) BCHomeFlowModel *flowData;

/**
 将iconImageView的frame转换为toView的frame
 */
- (CGRect)convertIconImageViewFrameToView:(UIView *)toView;

@end

